<!-- 审核未通过组件 -->
<template>
	<view class="content">
		<view class="banner">您的入驻申请不通过，可以点击下方按钮重新提交</view>
		<view class="infoBox">
			<image src="https://yzxk.oss-cn-hangzhou.aliyuncs.com/images/mine/create/img2.png"></image>
			<text>申请未通过</text>
			<view class="submitTime">
				<text>提交入驻申请资料时间:</text>
				<view>{{info.createTime}}</view>
			</view>
			<view class="whyBox">
				<text>不通过原因：</text>
				<view class="text">{{info.reject}}</view>
			</view>
			<view class="btn_bottom" @click="$emit('resubmit')">重新提交</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			info:{
				type:Object,
			}
		},
		data() {
			return {
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		.banner {
			width: 100%;
			height: 88rpx;
			background: rgba(255, 161, 61, .08);
			line-height: 88rpx;
			padding-left: 32rpx;
			font-size: 28rpx;
			font-family: Source Han Sans CN;
			color: #F79763;
		}

		.infoBox {
			font-size: 26rpx;
			font-family: PingFang SC;
			font-weight: 400;
			color: #999999;
			display: flex;
			flex-direction: column;
			align-items: center;

			&>image {
				width: 356rpx;
				height: 334rpx;
				margin-top: 72rpx;
			}

			&>text {
				font-size: 36rpx;
				font-weight: bold;
				color: #1A1A1A;
			}

			.submitTime {
				display: flex;
				align-items: center;
				margin: 46rpx 0;

				&>text {
					font-weight: 500;
					color: #1A1A1A;
					padding-right: 20rpx;
				}
			}

			.whyBox {
				display: flex;
				margin-bottom: 56rpx;
				.text{
					width: 181px;
					height: 36px;
					line-height: 23px;
				}
				&>text {
					font-weight: 500;
					color: #1A1A1A;
					padding-right: 20rpx;
				}
			}

			.btn_bottom {
				width: 84.6%;
				height: 90rpx;
				background: #194FC9;
				border-radius: 46rpx;
				font-size: 30rpx;
				font-family: Source Han Sans CN;
				color: #FFFFFF;
				text-align: center;
				line-height: 90rpx;
			}
		}
	}
</style>
